﻿using System;

namespace 热水器
{
    class Program
    {
        static void Main(string[] args)
        {
            //Console.WriteLine("Hello World!");
            Heater heater = new Heater();   //加热器
            Alarm alarm = new Alarm(heater);      //警报器
            ScreenLCD lcd = new ScreenLCD();    //显示器
            heater.BoilWater();     //烧水
        }
    }
}
